package com.tarena.lbs.business.servcie;

import com.github.pagehelper.Page;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.BusinessParam;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.vo.BusinessStoreVO;
import com.tarena.lbs.business.pojo.vo.BusinessVO;

import com.tarena.lbs.base.protocol.model.Result;
import com.tarena.lbs.business.pojo.vo.BusinessStoreVO;

import java.util.Map;

public interface BusinessService {

//    Result<BusinessStoreVO> getBusiDetail(Integer businessId);

    void save(BusinessParam param);

    PageResult<BusinessVO> businessInfoList(BusinessQuery query);

    BusinessStoreVO businessStoreDetail(Integer businessId);

    void updateBusiness(BusinessParam param);

    Result<Map<String, Integer>> statistics();

    BusinessStoreVO getBusiDetail(Integer articleId);
}
